<link rel="stylesheet" href="/public/assets/sysadmin/mylzp/css/jquery-ui.css">
<script type="text/javascript" src="/public/assets/sysadmin/mylzp/js/jquery-ui.js"></script>
<style>
.form-my div{float: left;margin-bottom: 10px;}
.form-my .label-my{height: 37px;line-height: 37px;width: 100px;}
.form-my .input-my{margin-right: 20px;}
.form-my .input-my input,.form-my .input-my textarea{width: 200px;}
.datepickerinput+button{display: none;}
</style>
<section class="vbox">
    <section class="scrollable padder">
        <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
            <li><a href="#"><i class="fa fa-home"></i> 订单管理中心</a></li>
            <li><a href="#">订单管理</a></li>
            <li class="active"><a href="#">全部订单</a></li>
        </ul>
        <div class="m-b-md">
            <h3 class="m-b-none">订单详情</h3>
        </div>
        <section class="panel panel-default">
            <div class="panel-body">
            <form class="form-horizontal" method="post" action="<?=$this->url('order/approvalEdit')?>" >
                <div class="form-my">
                    <div class="label-my">订单号：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="orderId" value="<?=empty($re)?'':$re['orderId']?>">
                    </div>
                    <div class="label-my">客户姓名：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="name" value="<?=empty($re)?'':$re['name']?>">
                    </div>
                    <div class="label-my">客户电话</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="mobile" value="<?=empty($re)?'':$re['mobile']?>">
                    </div>
                    <div style="clear: both;"></div>
                </div>
                <div class="form-my">
                    <div class="label-my">房型/床型：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="title" value="<?=empty($re)?'':$re['title'].'---'.$re['bed']?>">
                    </div>
                    <div class="label-my">房间数：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="countRoom" value="<?=empty($re)?'':$re['countRoom']?>">
                    </div>
                    <div class="label-my">订单总价(元)：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="price" value="<?=empty($re)?'':$re['price']?>">
                    </div>
                    <div style="clear: both;"></div>
                </div>
                <div class="form-my">
                    <div class="label-my">入住时间：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="startDate" value="<?=empty($re)?'':date('Y-m-d',$re['startDate'])?>">
                    </div>
                    <div class="label-my">离店时间：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="endDate" value="<?=empty($re)?'':date('Y-m-d',$re['endDate'])?>">
                    </div>
                    <div class="label-my">最晚到店时间：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="latestTime" value="<?=empty($re)?'':$re['latestTime']?>">
                    </div>
                    <div style="clear: both;"></div>
                </div>
                
                <div class="form-my">
                    <div class="label-my">支付类型：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="payType" value="<?=empty($re)?'':$pmsconfigs['payType'][$re['payType']]?>">
                    </div>
                    <div class="label-my">已付金额：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="paid" value="<?=empty($re)?'':$re['paid']?>">
                    </div>
                    <div class="label-my">订单来源：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="type" value="<?=!empty($re)&&!empty($re['typeName'])?$re['typeName']:'线下'?>">
                    </div>
                    <div style="clear: both;"></div>
                </div>
                
                <div class="form-my">
                    <div class="label-my">订单状态：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="created" value="<?=empty($re)?'':$pmsconfigs['orderstatus'][$re['status']]?>">
                    </div>
                    <div class="label-my">下单时间：</div>
                    <div class="input-my">
                        <input type="text" class="form-control" disabled="" name="created" value="<?=empty($re)?'':date('Y-m-d H:i:s',$re['created'])?>">
                    </div>
                    <div class="label-my">订单备注：</div>
                    <div class="input-my">
                        <textarea class="form-control" disabled="" name="remark"><?=empty($re)?'':$re['remark']?></textarea>
                    </div>
                    <div style="clear: both;"></div>
                </div>
                <input type="hidden" name="id" value="<?=empty($re)?'':$re['id']?>" />
                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-2">
                        <button type="button" onclick="window.history.go(-1);" class="btn btn-default">返 回</button>
                    </div>
                </div>
            </form>
            </div>
        </section>
    </section>
</section>
<a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen" data-target="#nav"></a>